package Vehicle;

public class Bus extends Vehicle {
	int count = 34;
	double sum;

	public double CalRent(int days) {
		if(count <= 16){
			sum = days * 800;
		}else if(count > 16){
			sum += days * 1500;
		}
		return sum;
	}

}
